<!DOCTYPE html>
<html>
<head>
    <meta charset="UTF-8">
    <title>コントロールパネル</title>
    <link href="./assets/styles/default.css" rel="stylesheet" />
    <script src="./assets/scripts/libs/jquery-1.7.1.min.js" type="text/javascript"></script>
    <script src="./assets/scripts/plugins/jquery.tagsinput.min.js" type="text/javascript"></script>
    <script src="./assets/scripts/import.js" type="text/javascript"></script>  
</head>
<body>

{include file='include/header.inc.html'}

<div id="container">
	<aside id="accordion">
    	<div id="aside_inner">
            {include file='include/menu.inc.html'}
        </div>
    </aside>
    
    <article>
    	<h2><span>&nbsp;</span>Staff<p><a href="javascript:;">Open Plugins</a></p></h2>
        <nav>
            <ul>
            <li class="active"><a href="{$smarty.server.SCRIPT_NAME}"><span>スタッフ検索</span></a></li>
            <li><a href="{$smarty.server.SCRIPT_NAME}?op=regist"><span>スタッフ登録</span></a></li>
            <li><a href="staff_role.php"><span>ロール検索</span></a></li>
            <li><a href="staff_role.php?op=regist"><span>ロール登録</span></a></li>
            </ul>
        </nav>
        
        <section id="content">
        
        	<h3>スタッフ検索</h3>
			<div id="search_form">
				<form name="staff_index" id="staff_index" method="post" action="{$smarty.server.SCRIPT_NAME}" >
				{include file='staff/include/search_form.inc.html'}
				<p class="search_submit">
					<button type="submit" class="submit"><span>検索</span></button>
				</p>
				</form>
			</div>
			
			{if $list|@count == 0}
                <p class="message zero">見つかりませんでした。</p>
            {else}
            	<p class="message">{$list|@count|number_format}件登録されています。</p>
				{include file='staff/include/search_list.inc.html'}
			{/if}

        </section>
    </article>
    
</div>

{include file='include/footer.inc.html'}

</body>
</html>